<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/js/kindeditor-all-min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/zh_CN.js"></script>
<link rel="stylesheet" href="__PUBLIC__/css/kindeditor.css" type="text/css" />
<script type="text/javascript">
	<if condition="C('ismobile') neq 1">
		var editor;
		KindEditor.ready(function(K) {
			editor = K.create('textarea[name="feedback"]', {
				uploadJson:'{:U("file/editor")}',
				allowFileManager : true,
				loadStyleMode : false,
				fileManagerJson: "{:U('file/manager')}"
			});
		});
	</if>
</script>
<div class="container">
	<!-- Docs nav ========================nav========================== -->
	<div class="page-header">
		<h4>修改 反馈信息</h4>
	</div>
	<div class="row">
		<div class="span12">
			<include file="Public:alert" />
			<form action="__APP__/index.php/PositionApply/feedback/" method="post">
				<input type="hidden" name="record_id" value="{$vo.record_id}" />
				<table class="table" border="0" cellspacing="1" cellpadding="0">
					<thead>
						<tr>
							<td colspan="2"><input name="submit" class="btn btn-primary" type="submit" value="保存"/><!--&nbsp; <input class="btn btn-primary" name="submit" type="submit" value="保存 & 新增"/>--> &nbsp;<input class="btn" type="button" onclick="javascript:history.go(-1)" value="返回"/></td>
						</tr>
					</thead>
					<tfoot>
						<tr>
							<td colspan="2"><input class="btn btn-primary"  name="submit" type="submit" value="保存"/><!-- &nbsp;<input class="btn btn-primary" type="submit" value="保存 & 新增"/>-->&nbsp; <input class="btn" type="button" onclick="javascript:history.go(-1)" value="返回"/></td>
						</tr>
					</tfoot>
					<tbody>
						<tr>
							<td class="tdleft">ID</td>
							<td>{$vo.record_id}</td>
						</tr>
						<tr>
							<td class="tdleft">申请职位</td>
							<td>{$vo.position_name}</td>
						</tr>
						<tr>
							<td class="tdleft">职位要求学历</td>
							<td>{$vo.position_xueli}</td>
						</tr>
						<tr>
							<td class="tdleft">姓名</td>
							<td>{$vo.user_name}</td>
						</tr>
						<tr>
							<td class="tdleft">学历</td>
							<td>{$vo.user_xueli}</td>
						</tr>
						<tr>
							<td class="tdleft">期望薪资</td>
							<td>{$vo.user_xinzi}</td>
						</tr>
						<tr>
							<td class="tdleft">职位发布日期</td>
							<td>{$vo.position_create_time}</td>
						</tr>
						<tr>
							<td class="tdleft">职位申请日期</td>
							<td>{$vo.add_time}</td>
						</tr>
						<tr>
							<td class="tdleft">职位申请数</td>
							<td>{$vo.position_num}</td>
						</tr>
						<tr>
							<td class="tdleft">反馈</td>
							<td>
								<textarea name="feedback" id="feedback" style="width: 800px; height: 350px;">{$vo.feedback}</textarea>
							</td>
						</tr>
						<!--<tr>
							<td class="tdleft">启用</td>
							<td>
                              <input type="radio" name="status" value="1" <if condition="$vo.is_show eq 1">checked</if>>  启用
                              <input type="radio" name="status" value="0" <if condition="$vo.is_show eq 0">checked</if>>  停用
                            </td>
						</tr>-->
					</tbody>
				</table>
			</form>

		</div>
	</div>
</div>

<script type="text/javascript">
	<if condition="C('ismobile') eq 1">
		width=$('.container').width() * 0.9;
		$("#content").css({
			width : width
		});
	</if>
	if($("#feedback").val() == null || $("#feedback").val() == ""){
		alert('详情不能为空');
		return false;
	}
		

		if($("select[name='category_id'] option:selected").val()==null||$("select[name='category_id'] option:selected").val()==""){
			alert("目录不能为空");
			return false;
		}
		$("#feedback").html(editor.html());
				
	});
	$(".fa-send-o").parent().parent().addClass("active");  //一级栏目
	$(".fa-align-left:eq(2)").addClass("active");  //二级栏目需要添加active样式
</script>
<include file="Public:footer" />